package com.furongji.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;

public enum CourseEnum {
    //未发布
    Draft("Draft"),
    // 已发布
    Normal("Normal");

    @EnumValue
    private String status;

    CourseEnum(String status) {
        this.status = status;
    }

    @JsonValue
    public String getStatus() {
        return this.status;
    }
}
